//
//  CC_More_View.m
//  HimalayaMountain
//
//  Created by dllo on 16/7/14.
//  Copyright © 2016年 dllo. All rights reserved.
//

#import "CC_More_View.h"
#import "CCBaseSubHeadLabel.h"
@interface CC_More_View ()

@property(nonatomic, retain) CCBaseSubHeadLabel *label;
@property(nonatomic, retain) UIImageView *imageView;

@end


@implementation CC_More_View

- (void)dealloc
{

    [_label release];
    [_imageView release];
    [super dealloc];
}


-(instancetype)initWithFrame:(CGRect)frame{
    
    if (self = [super initWithFrame:frame]) {
      
        self.label = [[CCBaseSubHeadLabel alloc]init];
        
        [self addSubview:_label];
        [_label release];
        
        self.imageView = [[UIImageView alloc]init];
        
         [self addSubview:_imageView];
       [_imageView release];
    

    }
    return self;
}

-(void)layoutSubviews{
    
    self.label.frame = CGRectMake(0, 0, SBWIDTH * 0.7, SBHEIGHT);
  self.label.text = @"更多";
    
  
    
    
    self.imageView.frame = CGRectMake(_label.frame.size.width, SBHEIGHT * 0.37  , SBWIDTH * 0.22, SBHEIGHT * 0.25);
        self.imageView.image = [UIImage imageNamed:@"np_loverview_arraw@2x.png"];
}




@end
